package com.shop.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 商品分类表
 * </p>
 *
 * @author 靳 旺
 * @since 2021-03-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("classification")
public class ClassificationDo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品分类id
     */
    @TableId(value = "pk_classification_id", type = IdType.AUTO)
    private Long pkClassificationId;

    /**
     * 层级
     */
    private Integer level;

    /**
     * 父ID
     */
    private Long parentId;

    /**
     * 中文
     */
    private String classificationZh;

    /**
     * 排序
     */
    private Long classificationSort;

    /**
     * 类目单元配重
     */
    private BigDecimal weight;

    /**
     * 是否禁用：N：未禁用，Y：已禁用
     */
    private String isDisable;


}
